<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HyperLocal.Core.LocalOrbUser>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Edit</h2>

    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="LocalOrbUserId">LocalOrbUserId:</label>
                <%= Html.TextBox("LocalOrbUserId", Model.LocalOrbUserId) %>
                <%= Html.ValidationMessage("LocalOrbUserId", "*") %>
            </p>
            <p>
                <label for="UserName">UserName:</label>
                <%= Html.TextBox("UserName", Model.UserName) %>
                <%= Html.ValidationMessage("UserName", "*") %>
            </p>
            <p>
                <label for="Password">Password:</label>
                <%= Html.TextBox("Password", Model.Password) %>
                <%= Html.ValidationMessage("Password", "*") %>
            </p>
            <p>
                <label for="Email">Email:</label>
                <%= Html.TextBox("Email", Model.Email) %>
                <%= Html.ValidationMessage("Email", "*") %>
            </p>
            <p>
                <label for="Active">Active:</label>
                <%= Html.TextBox("Active", Model.Active) %>
                <%= Html.ValidationMessage("Active", "*") %>
            </p>
            <p>
                <label for="Deleted">Deleted:</label>
                <%= Html.TextBox("Deleted", Model.Deleted) %>
                <%= Html.ValidationMessage("Deleted", "*") %>
            </p>
            <p>
                <label for="DateCreated">DateCreated:</label>
                <%= Html.TextBox("DateCreated", String.Format("{0:g}", Model.DateCreated)) %>
                <%= Html.ValidationMessage("DateCreated", "*") %>
            </p>
            <p>
                <label for="DateModified">DateModified:</label>
                <%= Html.TextBox("DateModified", String.Format("{0:g}", Model.DateModified)) %>
                <%= Html.ValidationMessage("DateModified", "*") %>
            </p>
            <p>
                <label for="DateDeleted">DateDeleted:</label>
                <%= Html.TextBox("DateDeleted", String.Format("{0:g}", Model.DateDeleted)) %>
                <%= Html.ValidationMessage("DateDeleted", "*") %>
            </p>
            <p>
                <label for="IsApproved">IsApproved:</label>
                <%= Html.TextBox("IsApproved", Model.IsApproved) %>
                <%= Html.ValidationMessage("IsApproved", "*") %>
            </p>
            <p>
                <label for="SecurityQuestion">SecurityQuestion:</label>
                <%= Html.TextBox("SecurityQuestion", Model.SecurityQuestion) %>
                <%= Html.ValidationMessage("SecurityQuestion", "*") %>
            </p>
            <p>
                <label for="SecurityAnswer">SecurityAnswer:</label>
                <%= Html.TextBox("SecurityAnswer", Model.SecurityAnswer) %>
                <%= Html.ValidationMessage("SecurityAnswer", "*") %>
            </p>
            <p>
                <label for="LocalOrbCommunityId">LocalOrbCommunityId:</label>
                <%= Html.TextBox("LocalOrbCommunityId", Model.LocalOrbCommunityId) %>
                <%= Html.ValidationMessage("LocalOrbCommunityId", "*") %>
            </p>
            <p>
                <label for="Comment">Comment:</label>
                <%= Html.TextBox("Comment", Model.Comment) %>
                <%= Html.ValidationMessage("Comment", "*") %>
            </p>
            <p>
                <label for="LastLoginDate">LastLoginDate:</label>
                <%= Html.TextBox("LastLoginDate", String.Format("{0:g}", Model.LastLoginDate)) %>
                <%= Html.ValidationMessage("LastLoginDate", "*") %>
            </p>
            <p>
                <label for="LastActivityDate">LastActivityDate:</label>
                <%= Html.TextBox("LastActivityDate", String.Format("{0:g}", Model.LastActivityDate)) %>
                <%= Html.ValidationMessage("LastActivityDate", "*") %>
            </p>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StyleInjection" runat="server">
</asp:Content>

